package com.study.agp.paging;

import androidx.annotation.NonNull;
import androidx.paging.DataSource;

public class MovieDataSourceFactory extends DataSource.Factory<Integer, Movie> {
    @NonNull
    @Override
    public DataSource<Integer, Movie> create() {
        return new MoviePositionalDataSource();
//        return new MoviePageKeyDataSource();
//        return new MovieItemKeyDatasource();
    }
}
